home *** CD-ROM | disk | FTP | other *** search
- <%
-
- cgiPath = "(scriptpath)"
- scrName = Request.ServerVariables("URL")
- query = Request.ServerVariables("QUERY_STRING")
-
- Function PrintSearchCode (url)
- Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
- xml.Open "GET", url, False
- xml.Send()
- Response.write xml.Responsetext
- End Function
-
- %>
- <!--#include file="header.htm" -->
- <%
-
- if query <> "" then
- PrintSearchCode (cgiPath & "?" & query & "&wrap=" & scrName)
- end if
-
- %>
- <!--#include file="footer.htm" -->
- <%
- %>